from django.conf import settings
from django.urls import include, path, re_path
from blog import views

urlpatterns = [
    path('', views.blog_index, name='blog_index'),
    re_path('page/(?P<blogpage_id>\d+)/$', views.blog_post, name='blog_post'),
    path('add/', views.blog_add, name='blog_add'),
    re_path('edit/(?P<blogpage_id>\d+)/$', views.blog_edit, name='blog_edit'),
    # re_path('tag/(?P<blogpage_tag_slug>\d+)/$', views.blog_tag, name='blog_tag'),
    re_path(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
    # re_path(r'^taggit/', include('taggit_selectize.urls')),

]